package com.ecoolex.chinadutyfree.retailer.core.mapper;

import com.ecoolex.chinadutyfree.retailer.entity.GoodsShopwindow;
import com.ecoolex.chinadutyfree.retailer.entity.GoodsShopwindowExample;
import com.ecoolex.framework.common.annotation.Description;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface GoodsShopwindowMapper {
    long countByExample(GoodsShopwindowExample example);

    int deleteByExample(GoodsShopwindowExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(GoodsShopwindow record);

    int insertSelective(@Param("record") GoodsShopwindow record, @Param("selective") GoodsShopwindow.Column ... selective);

    GoodsShopwindow selectOneByExample(GoodsShopwindowExample example);

    List<GoodsShopwindow> selectByExample(GoodsShopwindowExample example);

    GoodsShopwindow selectByPrimaryKey(Integer id);

    GoodsShopwindow selectByPrimaryKeyWithLogicalDelete(@Param("id") Integer id, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") GoodsShopwindow record, @Param("example") GoodsShopwindowExample example, @Param("selective") GoodsShopwindow.Column ... selective);

    int updateByExample(@Param("record") GoodsShopwindow record, @Param("example") GoodsShopwindowExample example);

    int updateByPrimaryKeySelective(@Param("record") GoodsShopwindow record, @Param("selective") GoodsShopwindow.Column ... selective);

    int updateByPrimaryKey(GoodsShopwindow record);

    int batchInsert(@Param("list") List<GoodsShopwindow> list);

    int batchInsertSelective(@Param("list") List<GoodsShopwindow> list, @Param("selective") GoodsShopwindow.Column ... selective);

    int logicalDeleteByExample(@Param("example") GoodsShopwindowExample example);

    int logicalDeleteByPrimaryKey(Integer id);
}